﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AlterarProduto.aspx.cs" Inherits="Livraria.AlterarProduto" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Alterar Produto</title>
</head>
<body>
    <form id="form1" runat="server">
    <h3>Página de Alteração</h3>
    <asp:Panel ID="pnl_id" runat="server">
        <asp:Label ID="lbl_id" runat="server" Text="ID:"></asp:Label>&nbsp;
        <asp:TextBox ID="txt_id" runat="server"></asp:TextBox><br />
        <asp:Button ID="btn_pesq" runat="server" Text="Pesquisar" onclick="btn_pesq_Click" />
    </asp:Panel>
    <asp:Label ID="lbl_erro" runat="server" Visible="False"></asp:Label>
    <br />
    <asp:Panel ID="pnl_result" runat="server" Enabled="False">
        <asp:Label ID="lbl_idfix" runat="server" Text="ID:"></asp:Label><br />
        <asp:Label ID="lbl_nome" runat="server" Text="Nome:"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:TextBox ID="txt_nome" runat="server"></asp:TextBox><br />
        <asp:Label ID="lbl_categ" runat="server" Text="Categoria:"></asp:Label>&nbsp;
        <asp:TextBox ID="txt_categ" runat="server"></asp:TextBox><br />
        <asp:Button ID="btn_atualizar" runat="server" Text="Atualizar" 
            onclick="btn_atualizar_Click" />
    </asp:Panel>    
    </form>
</body>
</html>
